You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
665 B
23 lines
665 B
import { getContact } from "../../../lib/data";
|
|
import { ContactSection } from "../../../components/ContactSection";
|
|
import { ContactHero } from "../../../components/ContactHero";
|
|
|
|
export const revalidate = 300;
|
|
|
|
export default function ContactPage({ params }: { params: { locale: string } }) {
|
|
const locale = params.locale;
|
|
const data = getContact(locale);
|
|
return (
|
|
<main className="min-h-screen bg-[#f0f4ff] text-[#1e2a3f]">
|
|
{data.hero && (
|
|
<ContactHero
|
|
title={data.hero.title}
|
|
subtitle={data.hero.subtitle}
|
|
image={data.hero.image}
|
|
/>
|
|
)}
|
|
<ContactSection data={data} />
|
|
</main>
|
|
);
|
|
}
|
|
|
|
|